﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace D.Medicalcare.Domain.Entities
{
    /// <summary>
    /// 用户表
    /// </summary>
    public class User
    {
        /// <summary>
        /// 用户主键
        /// </summary>
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string  Name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string  Pass { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string  Phone { get; set; }
        /// <summary>
        /// 微信昵称
        /// </summary>
        public string  WeChatName { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string  Address { get; set; }
        /// <summary>
        /// 创建人编号
        /// </summary>
        public int  CreateUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime  CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public int  UpdateUserId { get; set; }
        /// <summary>
        /// 修改人时间
        /// </summary>
        public DateTime   UpdateTime { get; set; }
        /// <summary>
        /// 删除人
        /// </summary>
        public int   DeletedUserId { get; set; }
        /// <summary>
        /// 删除人时间
        /// </summary>
        public DateTime   DeletedTime { get; set; }
        /// <summary>
        /// 删除标记
        /// </summary>
        public bool   IsDeleted { get; set; }
    }
}
